import { request } from '@/utils/http'

interface QueryRecord {
  startDate: string
  endDate: string
  worker: string | null
  group: string | null
}

export function getUserRecords(query: QueryRecord) {
  return request.post('/report/record', query)
}
